package com.example.xinli.service;

import com.example.xinli.domain.vo.ResponseBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.ServletOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;

public interface IToolService {
    public ResponseBean uploadImg(MultipartFile imgFile,String name);

//    public void downloadExcel(ServletOutputStream outputStream);
    public ResponseBean uploadFile(InputStream inputStream, String fileName, long fileSize, String contentType);

    public void downloadInterResExcel(ByteArrayOutputStream byteArrayOutputStream,String id);
    public void downloadSingleExcel(ByteArrayOutputStream byteArrayOutputStream,String id);
    public void downloadExcel(ByteArrayOutputStream byteArrayOutputStream);

    public void downloadevalExcel(ByteArrayOutputStream byteArrayOutputStream);
}
